/**
 * <p>Title: NacosPropertiesConfiguration</p>
 *
 * <p>Description:</p>
 *
 * <p>Copyright: Copyright (c) 2022</p>
 *
 * <p>Company: www.sxdachang.com/</p>
 *
 * @author zhanyang
 * @date 2022/4/28
 * @version 1.0
 */

package com.alibaba.csp.sentinel.dashboard.nacos;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * mongo通用配置项
 * <p>
 * Title: NacosPropertiesConfiguration
 * </p>
 *
 * <p>
 * Description: 
 * </p>
 *
 * @author zhangyang
 *
 * @date 2022/4/28
 *
 */
@ConfigurationProperties(prefix="sentinel.nacos")
public class NacosPropertiesConfiguration {

    /**
     * Nacos服务地址
     */
    private String serverAddr;

    private String dataId;

    private String groupId = "DEFAULT_GROUP";

    private String namespace;

    public String getServerAddr() {
        return serverAddr;
    }

    public void setServerAddr(String serverAddr) {
        this.serverAddr = serverAddr;
    }

    public String getDataId() {
        return dataId;
    }

    public void setDataId(String dataId) {
        this.dataId = dataId;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getNamespace() {
        return namespace;
    }

    public void setNamespace(String namespace) {
        this.namespace = namespace;
    }
}
